/*
 * Copyright (c) 2010 CCX(China) Co.,Ltd. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * CCX(China) Co.,Ltd. ("Confidential Information").
 * It may not be copied or reproduced in any manner without the express 
 * written permission of CCX(China) Co.,Ltd.
 *
 * @author WKM
 * Date: Jul 5, 2010 3:58:29 PM
 */
package com.ccxe.manage.dao;

import java.util.List;

import com.ccxe.manage.model.MenuBean;

/**
 * @author WKM
 *
 */
public interface MenuManager {

	/**
	 * 获取所有菜单
	 */
	public List<MenuBean> getAllMenu();
	
	/**
	 * 根据菜单ID获取菜单列表
	 */
	public List<MenuBean> getMenuById(String id);
	
	/**
	 * 获取所有根节点
	 */
	public List<MenuBean> getRootMenu();
	
	/**
	 * 增加菜单项
	 * @param menuBean菜单实体bean
	 */
	public void addMenuBean(MenuBean menuBean);
	
	/**
	 * 更新菜单项
	 * @param menuBean菜单实体bean
	 */
	public void updateMenuBean(MenuBean menuBean);
	
	/**
	 * 根据实体Bean删除菜单
	 * @param menuBean
	 */
	public void deleteMenuBean(MenuBean menuBean);
}
